//
//  word.swift
//  EnglishDictionary
//
//  Created by QFX on 2024/2/26.
//

import UIKit

class Word: VHLSQLiteObject {
    required public init() {

    }
    public var pkid: Int?
    @objc public var word: String?
    public var st: String?
    public var fold:String?
}
// 根据条件查询骑行记录数据
extension Word {
    static func getWords(fold:String) -> [Word]? {
        if let rows = try? Word.rows(filter: "fold ='\(fold)'") {
            return rows
        }
        return nil
     }
}
